package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.data.DomainEntity;
import cn.edu.sjtu.se.dslab.component.method.MethodToDomain;

public interface IMethodToDomainService {
	public boolean addMethodToDomain(MethodToDomain methodToDomain);

	public boolean updateMethodToDomain(MethodToDomain methodToDomain);

	public MethodToDomain getMethodToDomainById(long id);
	
	public List<MethodToDomain> getMethodToDomainByDomainEntity(DomainEntity entity);
}
